import java.awt.*;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;


public class Leetcode334 {

    public static void main(String[] args) {
        String[] k = {"中共党员", "中共预备党员", "共青团员", "民革会员", "民盟盟员", "民建会员", "民进会员", "农工党党员", "致公党党员", "九三学社社员", "台盟盟员", "无党派民主人士", "群众"};

        IdCardGenerator idCardGenerator = new IdCardGenerator();
        StringBuilder str = new StringBuilder();
        for (int i = 0; i < 100; i++) {
            double n = Math.random();
            if (n > 0.6) {
                str.append((int) (450 * n)).append("\n");
            }
        }

        setSysClipboardText(str.toString());
    }

    public static boolean increasingTriplet(int[] nums) {
        int min = Integer.MAX_VALUE;
        int center = Integer.MAX_VALUE;

        for (int num : nums) {
            if (num <= min) {
                min = num;
            } else {
                if (num <= center) {
                    center = num;
                } else {
                    return true;
                }
            }
        }

        return false;
    }

    public static void setSysClipboardText(String writeMe) {
        Clipboard clip = Toolkit.getDefaultToolkit().getSystemClipboard();
        Transferable tText = new StringSelection(writeMe);
        clip.setContents(tText, null);
    }
}
